/**
 *====================================================
 * 文件名称: FinanceCreditEntity.java
 * 修订记录：
 * No    日期				作者(操作:具体内容)
 * 1.    2015年11月19日			chenxy(创建:创建文件)
 *====================================================
 * 类描述：(说明未实现或其它不应生成javadoc的内容)
 */
package com.yuexunit.finance.project.entity;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import com.yuexunit.finance.member.entity.lexicon.AuditStateEnum;
import com.yuexunit.finance.project.entity.lexicon.AdjustmentEnum;
import com.yuexunit.finance.project.entity.lexicon.ProductTypeEnum;
import com.yuexunit.finance.project.entity.lexicon.ReplenishEnum;
import com.yuexunit.finance.project.entity.lexicon.ReplenishMethodEnum;
import com.yuexunit.finance.project.entity.lexicon.ReplenishStateEnum;

/**
 * @ClassName: FinanceCreditEntity
 * @Description: TODO(这里用一句话描述这个类的作用)
 * @author chenxy
 * @date 2015年11月19日 下午5:11:23
 */
@Entity
@Table(name = "FIN_FINANCE_CREDIT")
public class FinanceCreditEntity {

	/** 授信调整ID */
	@Id
	@GeneratedValue
	@Column(name = "CREDIT_ID")
	private Long creditId;

	/** 融资信息ID */
	@Column(name = "FINANCE_ID")
	private Long financeId;

	/** 融资企业ID */
	@Column(name = "ENTERPRISE_ID")
	private Long enterpriseId;

	/** 融资信息编号 */
	@Column(name = "FINANCE_NUMBER")
	private String financeNumber;

	/** 原授信金额 */
	@Column(name = "CREDIT_QUOTA")
	private BigDecimal creditQuota;

	/** 原保证金 */
	@Column(name = "BAIL")
	private BigDecimal bail;
	
	/** 风控调整金额 */
	@Column(name = "RISK_BAIL")
	private BigDecimal riskBail;
	
	/** 保证金提交金额 */
	@Column(name = "SUBMIT_BAIL")
	private BigDecimal submitBail;

	/** 调整模式 0:未知/1:授信额度/2:保证金/3:补货 */
	@Column(name = "ADJUSTMENT")
	private AdjustmentEnum adjustment;

	/** 调整金额 */
	@Column(name = "CREDIT_AMOUNT")
	private BigDecimal creditAmount;

	/** 货物新估值总额 */
	@Column(name = "VALUATION")
	private BigDecimal valuation;

	/** 调整备注 */
	@Column(name = "REMARK")
	private String remark;

	/** 调整原因 */
	@Column(name = "RESON")
	private Integer reson;

	/** 补货状态 0:未知/1:待补货/2:已补货 */
	@Column(name = "REPLENISH")
	private ReplenishEnum replenish;

	/** 补货方式 0:未知/1:货物/2:装箱货 */
	@Column(name = "REPLENISH_METHOD")
	private ReplenishMethodEnum replenishMethod;

	/** 补进货物应分摊的融资总额 */
	@Column(name = "REPLENISH_FINANCE_AMOUNT")
	private BigDecimal replenishFinanceAmount;

	/** 附件清单 */
	@Column(name = "FILE_UUIDS")
	private String fileUuids;

	/** 放款通知单ID */
	@Column(name = "LOAN_NOTICE_ID")
	private Long loanNoticeId;

	/** 补货确认 0:未确认/1:已确认/2:已完成 */
	@Column(name = "REPLENISH_STATE")
	private ReplenishStateEnum replenishState;

	/** 操作人员ID */
	@Column(name = "OPERATOR_ID")
	private Long operatorId;

	/** 操作人员 */
	@Column(name = "OPERATOR")
	private String operator;

	/** 创建时间 */
	@Column(name = "CREATE_DT")
	private Date createDateTime;

	/** 审核状态 */
	@Column(name = "AUDIT_STATE")
	private AuditStateEnum auditState;

	/** 审核意见 */
	@Column(name = "AUDIT_REMARK")
	private String auditRemark;

	/** 审核人ID */
	@Column(name = "AUDITOR_ID")
	private Long auditorId;

	/** 审核人 */
	@Column(name = "AUDITOR")
	private String auditor;

	/** 审核时间 */
	@Column(name = "AUDIT_DT")
	private Date auditDateTime;

	public BigDecimal getRiskBail() {
		return riskBail;
	}

	public void setRiskBail(BigDecimal riskBail) {
		this.riskBail = riskBail;
	}

	public BigDecimal getSubmitBail() {
		return submitBail;
	}

	public void setSubmitBail(BigDecimal submitBail) {
		this.submitBail = submitBail;
	}

	public AuditStateEnum getAuditState() {
		return auditState;
	}

	public void setAuditState(AuditStateEnum auditState) {
		this.auditState = auditState;
	}

	public String getAuditRemark() {
		return auditRemark;
	}

	public void setAuditRemark(String auditRemark) {
		this.auditRemark = auditRemark;
	}

	public Long getAuditorId() {
		return auditorId;
	}

	public void setAuditorId(Long auditorId) {
		this.auditorId = auditorId;
	}

	public String getAuditor() {
		return auditor;
	}

	public void setAuditor(String auditor) {
		this.auditor = auditor;
	}

	public Date getAuditDateTime() {
		return auditDateTime;
	}

	public void setAuditDateTime(Date auditDateTime) {
		this.auditDateTime = auditDateTime;
	}

	public BigDecimal getBail() {
		return bail;
	}

	public void setBail(BigDecimal bail) {
		this.bail = bail;
	}

	public AdjustmentEnum getAdjustment() {
		return adjustment;
	}

	public void setAdjustment(AdjustmentEnum adjustment) {
		this.adjustment = adjustment;
	}

	public Long getCreditId() {
		return creditId;
	}

	public void setCreditId(Long creditId) {
		this.creditId = creditId;
	}

	public Long getFinanceId() {
		return financeId;
	}

	public void setFinanceId(Long financeId) {
		this.financeId = financeId;
	}

	public Long getEnterpriseId() {
		return enterpriseId;
	}

	public void setEnterpriseId(Long enterpriseId) {
		this.enterpriseId = enterpriseId;
	}

	public Integer getReson() {
		return reson;
	}

	public void setReson(Integer reson) {
		this.reson = reson;
	}

	public String getFinanceNumber() {
		return financeNumber;
	}

	public void setFinanceNumber(String financeNumber) {
		this.financeNumber = financeNumber;
	}

	public BigDecimal getCreditQuota() {
		return creditQuota;
	}

	public void setCreditQuota(BigDecimal creditQuota) {
		this.creditQuota = creditQuota;
	}

	public BigDecimal getCreditAmount() {
		return creditAmount;
	}

	public void setCreditAmount(BigDecimal creditAmount) {
		this.creditAmount = creditAmount;
	}

	public BigDecimal getValuation() {
		return valuation;
	}

	public void setValuation(BigDecimal valuation) {
		this.valuation = valuation;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Long getOperatorId() {
		return operatorId;
	}

	public void setOperatorId(Long operatorId) {
		this.operatorId = operatorId;
	}

	public String getOperator() {
		return operator;
	}

	public void setOperator(String operator) {
		this.operator = operator;
	}

	public Date getCreateDateTime() {
		return createDateTime;
	}

	public void setCreateDateTime(Date createDateTime) {
		this.createDateTime = createDateTime;
	}

	public ReplenishEnum getReplenish() {
		return replenish;
	}

	public void setReplenish(ReplenishEnum replenish) {
		this.replenish = replenish;
	}

	public ReplenishMethodEnum getReplenishMethod() {
		return replenishMethod;
	}

	public void setReplenishMethod(ReplenishMethodEnum replenishMethod) {
		this.replenishMethod = replenishMethod;
	}

	public BigDecimal getReplenishFinanceAmount() {
		return replenishFinanceAmount;
	}

	public void setReplenishFinanceAmount(BigDecimal replenishFinanceAmount) {
		this.replenishFinanceAmount = replenishFinanceAmount;
	}

	public String getFileUuids() {
		return fileUuids;
	}

	public void setFileUuids(String fileUuids) {
		this.fileUuids = fileUuids;
	}

	public Long getLoanNoticeId() {
		return loanNoticeId;
	}

	public void setLoanNoticeId(Long loanNoticeId) {
		this.loanNoticeId = loanNoticeId;
	}

	public ReplenishStateEnum getReplenishState() {
		return replenishState;
	}

	public void setReplenishState(ReplenishStateEnum replenishState) {
		this.replenishState = replenishState;
	}

}
